UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Oracle JRE 8 deployment.config file must contain proper keys and values.


Overview

Finding ID Version Rule ID IA Controls Severity
V-66941 JRE8-WN-000020 SV-81431r1_rule Medium
Description
The deployment.config configuration file contains two keys. The "deployment.properties" key includes the path of the "deployment.properties" file and the "deployment.properties.mandatory" key contains either a TRUE or FALSE value. If the path specified to "deployment.properties" does not lead to a "deployment.properties" file, the value of the “deployment.system.config.mandatory” key determines how JRE will handle the situation. If the value of the "deployment.system.config.mandatory" key is TRUE and if the path to the "deployment.properties" file is invalid, the JRE will not allow Java applications to run. This is the desired behavior.
STIG Date
Java Runtime Environment (JRE) Version 8 STIG for Windows 2016-09-27

Details

Check Text ( C-67577r1_chk )
Navigate to the “deployment.config” file for Java:

\Lib\deployment.config
The default installation directory is C:\Program Files\Java\jre1.8.x_x\ or C:\Program Files (x86)\Java\jre1.8.x_x\

The deployment.config file contains two properties: deployment.system.config and deployment.system.config.mandatory.

The "deployment.system.config" key points to the location of the deployment.properties file. The location is variable. It can point to a file on the local disk, or a UNC path. The following is an example:
“deployment.system.config=file:///C:/Windows/Java/Deployment/deployment.properties"

If the “deployment.system.config” key does not exist or does not point to the location of the deployment.properties file, this is a finding.

If the “deployment.system.config.mandatory” key does not exist or is set to false, this is a finding.
Fix Text (F-73041r1_fix)
Navigate to the “deployment.config” file for JRE:

\Lib\deployment.config

Add the key “deployment.system.config=” to the deployment.config file. The following is an example:
“deployment.system.config=file:///C:/Windows/Java/Deployment/deployment.properties". Note the use of forward slashes.

Add the key “deployment.system.config.mandatory=true” to the deployment.config file.